package com.eunion.core.common.request.impl;

import com.eunion.core.common.request.PaginationRequest;

public class PaginationRequestImpl<T> extends SortingRequestImpl<T> implements PaginationRequest<T> {

    private static final long serialVersionUID = 1L;

    private Integer pageNo = 1;

    private Integer pageSize = 20;

    @Override
    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    @Override
    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

}
